package org.flint92.springcloud.ribbon.service.provide;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.ribbon.RibbonClient;
import org.springframework.cloud.netflix.ribbon.RibbonClients;

/**
 * @author flint92
 */
@SpringBootApplication
@EnableDiscoveryClient
@RibbonClients({
        @RibbonClient(name = "spring-cloud-ribbon-service-provide")
})
public class ServiceProvideApplication {

    public static void main(String[] args) {
        SpringApplication.run(ServiceProvideApplication.class, args);
    }

}
